package com.example.demo.service;

import com.agui.demo.core.entity.Student;
import com.agui.demo.core.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Copyright(c)2015-2025, xxxxxxxxx有限公司
 * All rights reserved.
 * <p>
 * 项目名称:demo
 * 文件名称:DemoService
 *
 * @author ygp
 * @create 2023-7-6 20:26
 */
@Service
public class DemoService {


    @Autowired
    private StudentService studentService;


    public Student getStu(String name) {

        Student st = studentService.getStu(name);
        return st;
    }


}
